package com.cloud.base.client.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cloud.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 租户模块
 *
 * @author wwkk
 * @date 2019-07-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_tentant_modules")
@ApiModel(value="BaseTentantModules对象", description="租户模块")
public class BaseTentantModules extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "模块ID")
    @TableId(value = "module_id", type = IdType.ID_WORKER)
    private Long moduleId;

    @ApiModelProperty(value = "租户ID")
    private Long tentantId;

    @ApiModelProperty(value = "服务名称")
    private String serviceId;

    @ApiModelProperty(value = "模块描述")
    private String moduleDesc;

    @ApiModelProperty(value = "保留数据0-否 1-是 不允许删除")
    private Integer isPersist;


}
